<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>带参数的</title>
</head>
<body>
<div >
    <h1  th:text="${message}"></h1>
    <h1>for 循环</h1>
    <table>
        <tr  th:each="userVo,iterStat : ${users}">
            <td th:text="${iterStat.count}"></td>
            <td th:text="${userVo.name}"></td>
            <td th:text="${userVo.age}"></td>
            <td th:text="${userVo.message}"></td>
            <td th:text="${userVo.password}"></td>
        </tr>
    </table>
</div>
</body>
</html>